let arr = ['安徽', '合肥', '庐江'];

let str = arr.join(';'); // 使用分号 ; 将数组粘合成字符串
let str1 = arr.join('-')
let str2 = arr.join(" ")
let str3 = arr.join();
let str4 = arr.join(',')
console.log(str)  //安徽;合肥;庐江
console.log(str1) //安徽-合肥-庐江
console.log(str2)//安徽 合肥 庐江
console.log(str3) //安徽,合肥,庐江
console.log(str4) //安徽,合肥,庐江